<!--
 * @Author: hucc
 * @Date: 2021-10-15 16:19:32
 * @LastEditors: hucc
 * @LastEditTime: 2021-10-15 16:26:56
 * @Description: 
-->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../js/axios.js"></script>
    <script>
        // const qs = Qs;
        const baseUrl = "http://39.103.202.53:8888"
        const queryData = {
            page: 1,
            pageSize: 10
        }
        const loginData = {
            username: 'admin1',
            password: 123321
        }
        const applyData = {
                name: 'tom',
                age: 12,
                telephone: 1236668888,
                gender: 'male'
            }
            //创建axios实例
        const instance1 = axios.create({
            baseURL: 'HTTP://47.94.46.113:8888'
        })
        const instance2 = axios.create({
            baseURL: 'HTTP://47.94.46.113:8002'
        })
        instance1.post('/user/login', loginData).then(res => {
            console.log('行学天下', res.data.data.token)
        })
        instance2.post('/user/login', loginData).then(res => {
            console.log('E洁家政', res.data.data.token)
        })
    </script>
</head>

<body>

</body>

</html>